package com.example.JavaWebApi.model.querymodel.SystemQueryModel;

import com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.OperatorType;
import com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.annotation.ColumnTarget;
import com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.annotation.IgnoreValue;
import com.example.JavaWebApi.core.mybatisplusextention.wrapperCreator.annotation.Operator;
import lombok.Data;

/**
 * @program: adks.process-api
 * @description: 用户查询实体
 * @author: 杨泽
 * @create: 2022-06-16 09:05
 */
@Data
public class UserInfoQuery extends PageQuery {
    @ColumnTarget(columnName = "a.ID" )
    private String id;
    @Operator(operatorType = OperatorType.Like)
    @ColumnTarget(columnName = "a.UserName" )
    private String name;
    @Operator(operatorType = OperatorType.Like)
    @ColumnTarget(columnName = "a.UserAccount" )
    private String userAccount;
    private String userSex;
    @Operator(operatorType = OperatorType.Like)
    @ColumnTarget(columnName = "a.UserPhone")
    private String userPhone;
    @ColumnTarget(columnName = "a.UserRole" )
    private String userRole;
    @Operator(operatorType = OperatorType.Like)
    @ColumnTarget(columnName = "a.IdNumber" )
    private String idNumber;
    @ColumnTarget(columnName = "c.Id" )
    private Integer orgId;
    @Operator(operatorType = OperatorType.Like)
    @ColumnTarget(columnName = "c.OrgName" )
    private String orgName;
    @IgnoreValue
    private Integer roleId;
    @IgnoreValue
    private Boolean isAuth;
}